package org.example.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import org.example.order.entity.User;

import java.util.List;

public interface UserService extends IService<User> {
    void add(User user);
    void deleteById(Long id);
    void deleteBatch(List<Long> ids);
    void update(User user);
    User selectById(Long id);
    List<User> selectAll();
    PageInfo<User> selectPage(User user,Integer pageNum, Integer pageSize);
}
